package matse11.project;

import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.View;

public class HauptmenueView extends View {

	public HauptmenueView(Context context, AttributeSet attrs) {
		super(context, attrs);
		
	}

	public void onDraw(Canvas c){
		
		Resources res = this.getContext().getResources();
		Drawable image = res.getDrawable(R.drawable.menuehintergrund3);
		image.setBounds(0, 0, image.getIntrinsicWidth(), image.getIntrinsicHeight());
		image.draw(c);
	}


}
